<!DOCTYPE html>
<html lang="zh_CN">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
</head>
<body>
	<INPUT id="range" type="date" max="100" min="0"/>
	<button onclick="showRange()"> btn</button>
	<script src="quickSort.js"></script>
	<script type="text/javascript" src="StraightInsertionSort.js"></script>
	<script>
		function showRange(){
			var range = document.getElementById("range");
			alert(range.value);
		}
		 var arr = [89,12,343,54,45,23,87,43];

		 for(var i =0 ;i<99999;i++){
		 	//arr.push(Math.ceil(Math.random()*10000));
		 }

    	var d = new Date(),
    	s = d.getTime();
    	//var arr1 = arr.quickSort();
    	arr.StraightInsertionSort();
    	//var e = d.getTime();
		 //console.log(e-s);
		 console.log(arr);
	</script>
</body>
</html>